/**
 * NoKwReply
 * @authors 杨兴洲（of2502）
 * @date    2017/5/26 0026 11:09
 * @version 1.0
 * @last-modify  杨兴洲（of2502）
 */

import React, {Component} from 'react';

export default class NoKwReply extends Component {

    static defaultProps = {
        style: {},
        height: 150,
        text: "暂无数据"
    };

    render() {
        const {style, height, text} = this.props;
        return (
            <div className="no-result"
                 style={{...style, height}}>
                {text}
            </div>
        )
    }
}